package com.ykdl.member.kid.beans;

import java.io.Serializable;

import android.R.string;

import com.google.gson.Gson;
import com.google.gson.GsonBuilder;

import net.wxxr.http.interfaces.IJsonParser;

public class Actor_conversationBean implements Serializable,IJsonParser{

	/**
	 * "actor_conversation": {
        "actor_conversation_id": 19,
        "conversation_id": 4,
        "display_name": "Dizzy",
        "avatar": null
    }
	 */
	private static final long serialVersionUID = -1347301913763374551L;
	private int actor_conversation_id ;
	private int conversation_id ;
	public int getConversation_id() {
		return conversation_id;
	}
	private String display_name ;
	private FileBean avatar ;
	public int getActor_conversation_id() {
		return actor_conversation_id;
	}
	public String getDisplay_name() {
		return display_name;
	}
	public FileBean getAvatar() {
		return avatar;
	}
	@Override
	public IJsonParser parse(String json) throws Exception {
		// TODO Auto-generated method stub
		Gson   gson = null;
		if(null != json){
			GsonBuilder b = new GsonBuilder();
			gson  = b.create();
			return gson.fromJson(json, Actor_conversationBean.class);
		}
		return null;
	}

}
